package com.ruoyi.product.feign;


import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.product.domain.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ruoyi-user")
@Component
public interface UserfeignService {

    @GetMapping(value = "/user/feign/{id}")
    public JsonData getInfo(@PathVariable("id") Long id);
}
